package net.sesami.nhg.ebd.batch.constants;

public interface IConstants {
	public interface POStatus {
		public static final Integer ALL = -2;
		public static final Integer CANCELLED_BY_BUYER = -1;
		public static final Integer NO_ORDER_STATUS = 0;
		public static final Integer APPROVED = 3;
		public static final Integer COMPLETED = 25;
		public static final Integer OTHER = 26;
		public static final Integer INVALID_DATA = 40;
		public static final Integer SUPPLIER_PROCESS_FAILED = 41;
		public static final Integer WAITING_FOR_RESPONSE = 42;
		public static final Integer SUPPLIER_UPDATE_RECEIVED = 43;
		public static final Integer PENDING_ACTION = 44;
		public static final Integer REJECTED_BY_SUPPLIER = 45;
		public static final Integer ACCEPTED_BY_SUPPLIER = 46;
		public static final Integer CHANGE_PENDING = 47;
		public static final Integer CHANGE_REJECTED = 48;
	}

	public interface Order_Status {
		public static final Integer ALL = -2;
		public static final Integer NO_STATUS = 0;
		public static final Integer OTHER = 1;
		public static final Integer NO_INFO = 2;
		public static final Integer NEW_ORDER = 3;
		public static final Integer ACCEPTED = 4;
		public static final Integer NOT_ACCEPTED = 5;
		public static final Integer PROCESSING = 6;
		public static final Integer COMPLETED = 7;
		public static final Integer CANCELLED = 8;
		public static final Integer PAYMENT_REQUIRED = 9;
		public static final Integer ACCEPTED_WITH_CHANGE = 10;
		public static final Integer ITEM_ON_HOLD = 11;
	}

	public interface Transmit_Status {
		public static final Integer ALL = -2;
		public static final Integer NONE = 0;
		public static final Integer READY_TO_SEND = 1;
		public static final Integer BEING_TRANSMITTED = 2;
		public static final Integer SENT_TO_MARKETSITE = 3;
		public static final Integer RETRY = 4;
		public static final Integer INVALID_DATA = 5;
		public static final Integer SENT_TO_SUPPLIER = 6;
		public static final Integer FAILED_TO_SUPPLIER = 7;
		public static final Integer SENT_TO_FAX = 10;
		public static final Integer SENT_TO_EMAIL = 11;
		public static final Integer SENT_TO_PRINTER = 12;
		public static final Integer FAILED_TO_FAX = 13;
		public static final Integer FAILED_TO_EMAIL = 14;
		public static final Integer FAILED_TO_PRINTER = 15;
		public static final Integer SENT_TO_ERP = 100;
		public static final Integer APPROVED_BY_ERP = 101;
		public static final Integer REJECTED_BY_ERP = 102;
		public static final Integer READY_TO_SEND_PO_TO_EIPP = 180;
		public static final Integer READY_TO_SEND_CO_TO_EIPP = 181;
		public static final Integer SENT_TO_EIPP = 182;
		public static final Integer RETRY_SENDING_PO_TO_EIPP = 183;
		public static final Integer RETRY_SENDING_CO_TO_EIPP = 184;
	}

	public interface EmailConfig {
		public static final String HOST_NAME = "application.email.host";
		public static final String SMTP_PORT = "application.email.port";
		public static final String EXCEPTION_NOTIFICATION_FROM_NAME = "application.exception.email.from.name";
		public static final String EXCEPTION_NOTIFICATION_FROM_EMAIL = "application.exception.email.from.email";
		public static final String EXCEPTION_NOTIFICATION_TO_NAME = "application.exception.email.to.name";
		public static final String EXCEPTION_NOTIFICATION_TO_EMAIL = "application.exception.email.to.email";

	}

	public interface ApplicationProperties {
		public static final String NHG_PO_XML_OUTBOUND = "NHG.PO.XML.OUTBOUND";
		public static final String NHG_PO_XML_HubID = "NHG.PO.XML.HubID";
		public static final String NHG_PO_XML_DocumentType = "NHG.PO.XML.DocumentType";
		public static final String NHG_PO_XML_POStatus_NEW = "NHG.PO.XML.POStatus.NEW";
		public static final String NHG_PO_XML_POStatus_CANCEL = "NHG.PO.XML.POStatus.CANCEL";
		public static final String NHG_PO_XML_POStatus_CHANGE = "NHG.PO.XML.POStatus.CHANGE";
		public static final String NHG_PO_XML_VendorPortalID = "NHG.PO.XML.VendorPortalID";
		public static final String NHG_PO_XML_BuyerPortalID = "NHG.PO.XML.BuyerPortalID";
		public static final String NHG_PO_XML_OrderType = "NHG.PO.XML.OrderType";
		public static final String NHG_PO_XML_SCHEMA = "NHG.PO.XML.SCHEMA";
		public static final String NHG_PO_XML_DocumentType_CANCEL = "NHG.PO.XML.DocumentType.CANCEL";

		public static final String NHG_CO_XML_ITEMSTATUS_UPDATE_ITEM = "NHG.CO.XML.ITEMSTATUS.UPDATE_ITEM";
		public static final String NHG_CO_XML_ITEMSTATUS_CANCEL_ITEM = "NHG.CO.XML.ITEMSTATUS.CANCEL_ITEM";
		public static final String NHG_CO_XML_ITEMSTATUS_NO_CHANGE_ITEM = "NHG.CO.XML.ITEMSTATUS.NO_CHANGE_ITEM";
		public static final String NHG_CO_XML_DocumentType = "NHG.CO.XML.DocumentType";
		public static final String NHG_CO_XML_OrderType = "NHG.CO.XML.OrderType";

		// attachments
		public static final String NHG_PO_Attachments_location = "NHG.PO.Attachments.location";
	}

	public interface CO_Status {
		public static final Integer NONE = 0;
		public static final Integer OPEN = 1;
		public static final Integer WAITING_FOR_APPROVAL = 2;
		public static final Integer APPROVED = 3;
		public static final Integer APPROVAL_REJECTED = 4;
		public static final Integer APPROVAL_CANCELLED = 5;
		public static final Integer RESPONSE_RECEIVED = 6;
		public static final Integer PENDING_BUYER_RESPONSE = 7;
		public static final Integer PENDING_SUPPLIER_RESPONSE = 8;
		public static final Integer RESPONDED_BY_SUPPLIER = 9;
		public static final Integer PROCESSED_BY_BUYER = 10;
		public static final Integer SUPERSEDED_BY_BUYER = 11;
		public static final Integer SUPERSEDED_BY_SUPPLIER = 12;
		public static final Integer SUPPLIER_PROCESSED_FAILED = 13;
		public static final Integer FAILED_TO_RECEIVE = 14;
		public static final Integer INVALID_DATA = 15;
	}

	public interface CO_Action {
		public static final Integer NONE = 0;
		public static final Integer OTHER = 1;
		public static final Integer UPDATE = 2;
		public static final Integer CANCEL = 3;
		public static final Integer ACCEPTED_AS_IS = 4;
		public static final Integer NOT_ACCEPTED = 5;
		public static final Integer CHANGED = 6;
		public static final Integer ACCEPTED = 7;
		public static final Integer REJECTED = 8;
		public static final Integer IGNORED = 9;
		public static final Integer UPDATE_ITEM = 10;
		public static final Integer CANCEL_ITEM = 11;
		public static final Integer ADD_ITEM = 12;
		public static final Integer NO_CHANGE_ITEM = 13;

	}
}
